﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Collections.ObjectModel;
using System.Xml.Serialization;

namespace Assigment.Model
{
    class Channel
    {
        [XmlElement("title")]
        public string Title { get; set; }

        [XmlElement("descreption")]
        public string Title { get; set; }

        [XmlElement("pubdate")]
        public string PudDate { get; set; }

        [XmlElement("item")]
        public ObservableCollection<News> Items { get; set; }

        public Channel()
        {
            this.Items = new ObservableCollection<News>();
        }
    }
}
